package com.paipai.config;

import org.springframework.amqp.core.*;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


@Configuration
public class RabbitConfig {
	
	
	@Bean
	public Queue queue() {
		  return new Queue("paipai.log",true);
		
	}

}
